<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>position:absolute 的祖先为行内时</title>
	<style type="text/css">
		.container{
			display:inline;
			position:relative;
			left:20px;
			top:100px;
			background:yellow;
			padding:20px;
		}
		span{
			background:skyblue;
		}
		.test{
			position:absolute;
			background:red;
			left: 0;
			top: 0;
		}
	</style>
</head>
<body>
  <div class="container">
  	   <span>1111111111111111111111111111111111111111111</span>
  	   <div class="test">
  	   	   absolute的包含块是谁
  	   </div>
  	   <span>1111111111111111111111111111111111111111111</span>
  	   <span>2222222222222222222222222222222222222</span>
  </div>
</body>
</html>